package com.snatch.snatchmgr.service;

import java.sql.SQLException;
import java.util.Date;

import org.apache.ibatis.annotations.Param;

import com.snatch.snatchmgr.entity.db.ThirdLive;
import com.snatch.snatchmgr.entity.db.ThirdMatch;


public interface CrawlerDataService {
	
	
	/**
	 * 新增第三方赛事
	 * @param normalMatch
	 * @return
	 * @throws SQLException 
	 */
	public abstract void addThirdMatch(ThirdMatch thirdMatch);

	
	/**
	 * 查询第三方赛事
	 * @param normalMatch
	 * @return
	 * @throws SQLException 
	 */
	
	public abstract ThirdMatch findThirdMatch(String target,String leagueSelfid,String matchSelfid,Date startTime);
	
	/**
	 * 更新第三方赛事状态
	 * 
	 * @param normalMatch
	 */
	public abstract void updThirdMatch(ThirdMatch thirdMatch);
	
	
	
	/**
	 * 新增第三方赛事
	 * @param normalMatch
	 * @return
	 * @throws SQLException 
	 */
	public abstract void addThirdLive(ThirdLive thirdlive);
	
	
	

	/**
	 * 更新第三方赛事状态
	 * 
	 * @param normalMatch
	 */
	public abstract void updThirdLive(ThirdLive thirdlive);

	

}